﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;
public partial class uc_productbyfilter : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {        
        string cid = HttpContext.Current.Request.QueryString["cid"];
        if (cid == null || cid == "")
            cid = "0";
        if (!IsPostBack)
        {
            //ltproductbyfilter.Text = new CmsBLL().RenderFilterProducts(CommonBLL.SiteID, int.Parse("0"+cid));            
            ltproductbyfilter.Text = new CmsBLL().RenderProductByFilter(cid, "default", "", 18, 10, 0, "ClientJumpPageProByCate", CommonBLL.SiteID);
            
        }
    }    
}